package com.sh.data.engine.domain.base.model.enums;

/**
 * @author tinglan.ys
 * @description:
 * @date 2022/3/9 上午11:18
 */
public enum RightEnum {
    R("0", "读"),
    RW("1", "读写"),
    NONE("2", "无读写权限");

    private String code;
    private String name;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    RightEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }
}
